Extension function to convert a Date object to a LocalDate. This function converts the date's epoch time to an Instant, then uses the system's default time zone to convert it to a LocalDate.
Return
The corresponding LocalDate representation of the Date object.